package com.egoonet.web;

import com.egoonet.dao.PostRepository;
import com.egoonet.dao.projections.PostIdAndTitle;
import com.egoonet.domain.Post;
import com.github.wenhao.jpa.Specifications;
import com.google.common.base.Strings;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.jpa.domain.Specification;
import org.springframework.web.bind.annotation.*;

import java.util.List;

/**
 *
 * Created by wchi on 2017/4/20.
 */
@RestController
public class TestController {
    @RequestMapping(value="/testman", method = RequestMethod.GET)
    public String getAllTitleAndId(){
        return "Hello, World, man!";
    }
}
